package com.fortune.dto.in.dealerRemind;

import com.fortune.constants.enums.Status;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

public class DealerRemindConFirmDto{
    @NotNull
    @ApiModelProperty(example="类型(YES已处理,NO未处理)",allowableValues = "YES,NO")
    private Status type;

    @NotBlank(message="厂商id不能为空")
    @ApiModelProperty(example="厂商id")
    private String id;

    public Status getType() {
        return type;
    }

    public void setType(Status type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "DealerRemindConFirmDto{" +
                "type=" + type +
                ", id='" + id + '\'' +
                '}';
    }
}
